/***********************************************************************
 * Module:  Enumeration.java
 * Author:  Stefan
 * Purpose: Defines the Class Enumeration
 ***********************************************************************/

package org.dslintegration.merge.km3.core;

import java.util.ArrayList;
import java.util.List;

public class Enumeration extends Classifier {
	
	protected List<EnumLiteral> enumLiterals;

	public Enumeration(String name) {
		enumLiterals = new ArrayList<EnumLiteral>();
		this.name = name;
	}

	public List<EnumLiteral> getEnumLiterals() {
		return enumLiterals;
	}

	public void setEnumLiterals(List<EnumLiteral> enumLiteral) {
		this.enumLiterals = enumLiteral;
	}

	public void addEnumLiteral(EnumLiteral e) {
		this.enumLiterals.add(e);
	}

	@Override
	public String toString() {
		return "Enumeration [name=" + name + ", location=" + location + "]";
	}
	

}